import { request } from '@/utils/request';

export interface WallNewsDetail {
  _id: string;
  view_count: number;
  publish_date: number;
  article_status: number;
  title: string;
  author: string;
  content: string;
  select: boolean;
}

export const apiWallNewsDetail = (data: { id: string }) => {
  return request<WallNewsDetail>('/wallNewsDetail', {
    data,
  });
};
